/* eslint-disable no-unused-vars */
import axios from './index';
export function getSliders() {
    return axios.get('/slider/list');
}
export function getLessons(category: string = 'all', offset:number, limit: number) {
    return axios.get(`/lesson/list?category=${category}&offset=${offset}&limit=${limit}`);
}
export function getLesson<T>(id:string) {
    return axios.get<T, T>(`/lesson/${id}`);
}
